/*
 * Copyright DimYLiK.
 */

package com.example.myapp.client;

import com.example.myapp.shared.SavedSessionModel;
import com.example.myapp.shared.Word;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import java.util.List;

@RemoteServiceRelativePath("greet")
public interface AntiBaldaService extends RemoteService {

    Integer initVocabulary();

    List<Word> findWords(SavedSessionModel savedSessionModel, Integer minLetters, Integer maxLetters, Integer maxWords);

    SavedSessionModel checkSession();

    String getWordDescription(String stringWord);

    String getSavedLanguage(String defaultLanguage);

    boolean saveLanguage(String language);

    String initIpAddress();
}
